package com.enhinck.dbutilweb.model.dto;

import java.util.Date;
import io.swagger.annotations.*;
import lombok.*;

/**
 * 数据源表
 *
 * @author enhinck Generate auto created
 * @date 2021-03-03 10:52:04
 */
@Data
@ApiModel("数据源表DTO")
public class DatasourceConfDTO {
    @ApiModelProperty(value = "主键")
    private Integer id;
    @ApiModelProperty(value = "主从")
    private String masterSlave;
    @ApiModelProperty(value = "服务名")
    private String name;
    @ApiModelProperty(value = "环境")
    private String env;
    @ApiModelProperty(value = "驱动名")
    private String driverClassName;
    @ApiModelProperty(value = "数据库连接地址")
    private String url;
    @ApiModelProperty(value = "账号")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;
    @ApiModelProperty(value = "更新")
    private Date gmtUpdate;
    @ApiModelProperty(value = "状态")
    private String status;
}